//
//  AnnouncementApi.m
//  SeaMelonSeeds_Counselor
//
//  Created by 尤振宇 on 2017/8/30.
//  Copyright © 2017年 杨笑. All rights reserved.
//

#import "AnnouncementApi.h"

@implementation AnnouncementApi
{
    NSTimeInterval _time;
}

- (instancetype)initWithTimeInterval:(NSTimeInterval)timeInterval
{
    self = [super init];
    if (self) {
        _time = timeInterval;
    }
    return self;
}

-(NSString *)requestUrl
{
    return @"counselor/notices";
}

-(id)requestArgument
{
    return @{@"timestamp":@(_time)};
}
@end


@implementation Announcement

@end
